package com.timk.goserver.client.services;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Thrown by service interfaces when the session has expired.
 * @author TKington
 *
 */
public class NoSessionException extends Exception implements IsSerializable {
	private String msg;
	
	/** Just for serialization */
	public NoSessionException() { /* */ }
	
	/**
	 * Creates a NoSessionException.
	 * @param msg the message
	 */
	public NoSessionException(String msg) {
		this.msg = msg;
	}
	
	public String getMessage() {
		return msg;
	}
}
